/*
 * @Author: your name
 * @Date: 2020-06-01 15:08:50
 * @LastEditTime: 2020-06-01 15:11:25
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \codeSnippet\nodejsAPI练习\readFileSync.js
 */ 



 // readFileSync 
 const fs = require('fs')
// 同步读取文件内容
 const data = fs.readFileSync('./readFile.js','utf8')
 console.log('tag', data)